[INFO] cloning repository https://github.com/hchap1/neuron
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hchap1/neuron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchap1%2Fneuron", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchap1%2Fneuron'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a03b13252a4d8d11509735c04ebf310a287e6839
[INFO] checking hchap1/neuron against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchap1%2Fneuron" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hchap1/neuron
[INFO] finished tweaking git repo https://github.com/hchap1/neuron
[INFO] tweaked toml for git repo https://github.com/hchap1/neuron written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hchap1/neuron on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hchap1/neuron already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d
[INFO] running `Command { std: "docker" "start" "774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.1.45
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling num-rational v0.1.43
[INFO] [stderr]    Compiling num-complex v0.1.44
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num v0.1.43
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking simple v0.3.0
[INFO] [stderr]     Checking neuron v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `IndexMut` and `Index`
[INFO] [stdout]  --> src/matrix.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ops::{Add, AddAssign, Index, IndexMut, Mul, MulAssign, Sub, SubAssign};
[INFO] [stdout]   |                                 ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IndexMut` and `Index`
[INFO] [stdout]  --> src/matrix.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ops::{Add, AddAssign, Index, IndexMut, Mul, MulAssign, Sub, SubAssign};
[INFO] [stdout]   |                                 ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]   --> src/network/reinforcement_learning.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct Network<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/network/reinforcement_learning.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> Network<I, H, O, M> {
[INFO] [stdout]     | ------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 113 |
[INFO] [stdout] 114 |     pub fn epsilon_decay(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn update_frozen(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn transposed_output_weight(&self) -> Matrix<H, O> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn update_hidden_layer(&mut self, grad_w1: Matrix<H, I>, grad_b1: Matrix<H, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn update_output_layer(&mut self, grad_w2: Matrix<O, H>, grad_b2: Matrix<O, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn hidden_activations(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn hidden_z(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn frozen_feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn epsilon_greedy<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub fn predict<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn train<G: Game<I, A>, A: Action>(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Movement` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Movement {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridNavigation` is never constructed
[INFO] [stdout]   --> src/game/grid_navigation.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct GridNavigation<const I: usize> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `manhattan_distance` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl<const I: usize> GridNavigation<I> {
[INFO] [stdout]    | -------------------------------------- method in this implementation
[INFO] [stdout] 47 |     pub fn manhattan_distance(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]   --> src/network/reinforcement_learning.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct Network<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/network/reinforcement_learning.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> Network<I, H, O, M> {
[INFO] [stdout]     | ------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 113 |
[INFO] [stdout] 114 |     pub fn epsilon_decay(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn update_frozen(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn transposed_output_weight(&self) -> Matrix<H, O> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn update_hidden_layer(&mut self, grad_w1: Matrix<H, I>, grad_b1: Matrix<H, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn update_output_layer(&mut self, grad_w2: Matrix<O, H>, grad_b2: Matrix<O, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn hidden_activations(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn hidden_z(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn frozen_feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn epsilon_greedy<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub fn predict<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn train<G: Game<I, A>, A: Action>(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Movement` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Movement {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridNavigation` is never constructed
[INFO] [stdout]   --> src/game/grid_navigation.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct GridNavigation<const I: usize> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `manhattan_distance` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl<const I: usize> GridNavigation<I> {
[INFO] [stdout]    | -------------------------------------- method in this implementation
[INFO] [stdout] 47 |     pub fn manhattan_distance(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.82s
[INFO] running `Command { std: "docker" "inspect" "774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d", kill_on_drop: false }`
[INFO] [stdout] 774cd04ce631820bc509e8780bf7e57dd4605219e163ec2fd59508385e98b58d
